package cn.fhkj.entity;

public class RenqiuZfEmail extends BaseEntity {
    /**
     * 
     * 表字段 : renqiu_zf_email.id
     */
    private Long id;

    /**
     * 文档路径
     * 表字段 : renqiu_zf_email.doc_path
     */
    private String docPath;

    /**
     * 文档名称
     * 表字段 : renqiu_zf_email.doc_name
     */
    private String docName;

    /**
     * 文件大小
     * 表字段 : renqiu_zf_email.doc_size
     */
    private String docSize;

    /**
     * 获取  字段:renqiu_zf_email.id
     *
     * @return renqiu_zf_email.id, 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置  字段:renqiu_zf_email.id
     *
     * @param id the value for renqiu_zf_email.id, 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 文档路径 字段:renqiu_zf_email.doc_path
     *
     * @return renqiu_zf_email.doc_path, 文档路径
     */
    public String getDocPath() {
        return docPath;
    }

    /**
     * 设置 文档路径 字段:renqiu_zf_email.doc_path
     *
     * @param docPath the value for renqiu_zf_email.doc_path, 文档路径
     */
    public void setDocPath(String docPath) {
        this.docPath = docPath == null ? null : docPath.trim();
    }

    /**
     * 获取 文档名称 字段:renqiu_zf_email.doc_name
     *
     * @return renqiu_zf_email.doc_name, 文档名称
     */
    public String getDocName() {
        return docName;
    }

    /**
     * 设置 文档名称 字段:renqiu_zf_email.doc_name
     *
     * @param docName the value for renqiu_zf_email.doc_name, 文档名称
     */
    public void setDocName(String docName) {
        this.docName = docName == null ? null : docName.trim();
    }

    /**
     * 获取 文件大小 字段:renqiu_zf_email.doc_size
     *
     * @return renqiu_zf_email.doc_size, 文件大小
     */
    public String getDocSize() {
        return docSize;
    }

    /**
     * 设置 文件大小 字段:renqiu_zf_email.doc_size
     *
     * @param docSize the value for renqiu_zf_email.doc_size, 文件大小
     */
    public void setDocSize(String docSize) {
        this.docSize = docSize == null ? null : docSize.trim();
    }

    /**
     * ,renqiu_zf_email
     *
     * @param that
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        RenqiuZfEmail other = (RenqiuZfEmail) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDocPath() == null ? other.getDocPath() == null : this.getDocPath().equals(other.getDocPath()))
            && (this.getDocName() == null ? other.getDocName() == null : this.getDocName().equals(other.getDocName()))
            && (this.getDocSize() == null ? other.getDocSize() == null : this.getDocSize().equals(other.getDocSize()));
    }

    /**
     * ,renqiu_zf_email
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDocPath() == null) ? 0 : getDocPath().hashCode());
        result = prime * result + ((getDocName() == null) ? 0 : getDocName().hashCode());
        result = prime * result + ((getDocSize() == null) ? 0 : getDocSize().hashCode());
        return result;
    }
}